package com.tencent.qf.team.dao;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.tencent.qf.team.dal.DmAppSalesPerformanceDetail;
import com.tencent.qf.team.dal.DmAppSalesPerformanceDetailKey;
import com.tencent.qf.team.dto.request.PerformanceSummaryByUidRequest;
import com.tencent.qf.team.dto.request.PerformanceSummaryUserDetailRequest;
import com.tencent.qf.team.dto.response.PerformanceSummary;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@DS("biappdb")
@Mapper
public interface DmAppSalesPerformanceDetailDao {
    DmAppSalesPerformanceDetail selectByPrimaryKey(DmAppSalesPerformanceDetailKey key);

    List<DmAppSalesPerformanceDetail> userDetail(PerformanceSummaryUserDetailRequest request);

    List<PerformanceSummary> queryUserPerformanceSummary(PerformanceSummaryByUidRequest request);
}
